package com.qidi.service;

import com.qidi.pojo.Cart;
import com.qidi.pojo.Order;
import com.qidi.pojo.OrderItem;

import java.util.List;

/**
 * @author zhouXinBin
 * @create 2020-09-04-12:24
 */
public interface OrderService {
    public String createOrder(Cart cart,Integer userid);

    public void changeOrderStatus(Integer status,String orderid);

    public List<Order> queryAllOrders();
    public List<Order> queryMyOrder(Integer userid);
    public List<OrderItem> queryOrderItems(String orderid);
}
